﻿@model mvcForum.Web.ViewModels.TopicViewModel
@using mvcForum.Web.Helpers;
@{
	ViewBag.Title = ForumHelper.GetString("Topic.Title", new { Title = Model.Title });
	Layout = "~/themes/black/views/Shared/forumlayout.cshtml";
}
	@Html.Partial("Breadcrumb", Model.Path)
	<a name="start_here"></a>
	<h2><a href="">@Model.Title</a></h2>
	<div class="topic-actions">
		@Html.Partial("TopicButtonsPartial", Model)
		@Html.Partial("TopicPagingPartial", Model)
		<div class="search-box">
		<!--	<form method="post" id="topic-search" action="./search.php?style=250&amp;t=398">
			<fieldset>
				<input class="inputbox search tiny" type="text" name="keywords" id="search_keywords"
					size="20" value="Search this topic…" onclick="if(this.value=='Search this topic…')this.value='';"
					onblur="if(this.value=='')this.value='Search this topic…';" />
				<input class="button2" type="submit" value="Search" />
				<input type="hidden" value="398" name="t" />
				<input type="hidden" value="msgonly" name="sf" />
			</fieldset>
			</form>-->
		</div>
	</div>
	<div class="clear"></div>
	<div class="">
	@foreach (var message in Model.Messages) {
	 @Html.Partial("MessagePartial", message)
 }
	</div>
	<div class="topic-actions">
		@Html.Partial("TopicButtonsPartial", Model)
		@Html.Partial("TopicPagingPartial", Model)
	</div>
